// Simple Intrest Calulator
// By DreamVB 18:12 19/10/2016

#include <iostream>

using namespace std;
using std::cout;
using std::endl;

int main(int argc, char *argv[]){

	double Amount = 0;
	int yr = 0;
	double r = 0;
	double Total = 0.0;

	cout << "Simple Intrest Calulator" << endl;
	cout << "Enter full amount of loan : ";
	cin >> Amount;
	cout << "Enter the intrest rate : ";
	cin >> r;
	cout << "Enter toal years to pay of loan : ";
	cin >> yr;

	Total = (Amount*r*yr) / 100;
	cout << endl << "Simple Interest is : $" << Total << endl;

	system("pause");
	return 0;
}